package com.bear.newsset.dao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;
@Entity
public class NewsStatusSqlEntity {
    @Id(autoincrement = true)
    private Long id;
    @Unique
    private String newsId;
    private int giveLikeCount;      //喜欢数量
    private int collectCount;       //收藏数量
    private int shareCount;         //分享数量
    private int toViewCount;        //阅读数量
    @Generated(hash = 1275064416)
    public NewsStatusSqlEntity(Long id, String newsId, int giveLikeCount,
            int collectCount, int shareCount, int toViewCount) {
        this.id = id;
        this.newsId = newsId;
        this.giveLikeCount = giveLikeCount;
        this.collectCount = collectCount;
        this.shareCount = shareCount;
        this.toViewCount = toViewCount;
    }
    @Generated(hash = 715701793)
    public NewsStatusSqlEntity() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getNewsId() {
        return this.newsId;
    }
    public void setNewsId(String newsId) {
        this.newsId = newsId;
    }
    public int getGiveLikeCount() {
        return this.giveLikeCount;
    }
    public void setGiveLikeCount(int giveLikeCount) {
        this.giveLikeCount = giveLikeCount;
    }
    public int getCollectCount() {
        return this.collectCount;
    }
    public void setCollectCount(int collectCount) {
        this.collectCount = collectCount;
    }
    public int getShareCount() {
        return this.shareCount;
    }
    public void setShareCount(int shareCount) {
        this.shareCount = shareCount;
    }
    public int getToViewCount() {
        return this.toViewCount;
    }
    public void setToViewCount(int toViewCount) {
        this.toViewCount = toViewCount;
    }
}
